package com.lhc.pojo;

/**
 * @author lhc
 * @version V1.0
 * @date 2021/06/23
 **/
public class ResultVO {
    private String message;//信息
    private boolean success;//是否获取对象成功
    private Object data;//存储对象数据

    public ResultVO() {
    }

    public ResultVO(String message, boolean success, Object data) {
        this.message = message;
        this.success = success;
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ResultVO{" +
                "message='" + message + '\'' +
                ", success=" + success +
                ", data=" + data +
                '}';
    }
}
